/*
 * com.workhard.webapp.login.LoginAction.java		1.00	Mar 28, 2008
 * CREATE		Guoyou Jiang
 *
 * Alteration Records:
 * Create file at:	Mar 28, 2008   2:51:58 PM
 *
 */
package com.workhard.webapp.login;

import com.workhard.service.login.LoginService;

public class LoginAction {
    
    private String userName;
    private String password;
    
    private LoginService service;
    
    
    
    public LoginService getService() {
        return service;
    }

    public void setService(LoginService service) {
        this.service = service;
    }

    //action
    public String login() {
        return "success";
    }
    
    public String logout() {
        return "success";
    }

    //model
    public String getUserName() {
        return userName;
    }

    public void setUserName(String userName) {
        this.userName = userName;
    }

    public String getPassword() {
        return password;
    }

    public void setPassword(String password) {
        this.password = password;
    }

}
